package jvm.classloader;

public class Test10 {
    public static void main(String[] args) {
        String[] strings = new String[2];
        System.out.println(strings.getClass().getClassLoader());
        System.out.println("===============");
        Child10 child10 = new Child10();
        System.out.println(child10.getClass().getClassLoader());
        System.out.println("===============");
        Child10[] child10s = new Child10[5];
        System.out.println(child10s.getClass().getClassLoader());
        System.out.println("===============");
        int[] a = new int[5];
        System.out.println(a.getClass().getClassLoader()); //基本类型无加载器
    }
}
class Child10 {

}
